export const dataSource = [
  {
    id: 1,
    name: 'test2',
    children: [
      {
        id: 11,
        name: 'hdk11',
        parentId: 1,
        children: [
          {
            id: 111,
            name: 'hdk111',
            parentId: 11,
          },
          {
            id: 112,
            name: 'hdk112',
            parentId: 11,
          },
          {
            id: 113,
            name: 'hdk113',
            parentId: 11,
          },
        ],
      },
      {
        id: 12,
        name: 'hdk12',
        parentId: 1,
      },
      {
        id: 13,
        name: 'hdk13',
        parentId: 1,
      },
      {
        id: 14,
        name: 'hdk14',
        parentId: 1,
      },
      {
        id: 15,
        name: 'hdk15',
        parentId: 1,
      },
    ],
  },
]

export const tableConfig = [
  {
    title: '名称',
    dataIndex: 'name',
    key: 'name',
  },
]

export const actions = [
  {
    label: '反选',
    id: 'unInvert',
  },
]
